home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!cs.utexas.edu!convex!texsun!cronkite!exodus!Pa.dec.com!dbs
- From: dbs@Pa.dec.com
- Newsgroups: comp.sources.x
- Subject: v13i074: xboard, Patch2, Part01/01
- Message-ID: <16337@exodus.Eng.Sun.COM>
- Date: 6 Jul 91 07:08:26 GMT
- References: <csx-13i074-xboard@uunet.UU.NET>
- Sender: news@exodus.Eng.Sun.COM
- Lines: 157
- Approved: argv@sun.com
-
- Submitted-by: dbs@Pa.dec.com
- Posting-number: Volume 13, Issue 74
- Archive-name: xboard/patch2
- Patch-To: xboard: Volume 13, Issue 57-62
-
- Here is another patch for xboard. Hopefully, there won't be any more.
- There is also an up to date copy of the xboard sources in /contrib on
- export.lcs.mit.edu (18.30.0.238).
-
- --Dan
-
- diff -c rev6/README rev7/README
- *** rev6/README Thu Jun 27 15:29:11 1991
- --- rev7/README Thu Jun 27 15:07:28 1991
- ***************
- *** 255,257 ****
- --- 255,263 ----
- - Can't do a backward move when it isn't your turn because gnuchess
- gets confused. Similar bug for forward move. Do a bunch of moves,
- back up move and go forward. These get filtered out now.
- +
- + Thu Jun 27 15:06:25 PDT 1991
- +
- + - Bug in my forward move fix. Didn't work for playgamefile mode.
- +
- + - Remove comment popups during a reset.
- Common subdirectories: rev6/bitmaps and rev7/bitmaps
- diff -c rev6/xboard.c rev7/xboard.c
- *** rev6/xboard.c Thu Jun 27 15:29:05 1991
- --- rev7/xboard.c Thu Jun 27 15:02:58 1991
- ***************
- *** 2053,2062 ****
- }
-
- if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
- ! || ((currentMove == 0) && (forwardMostMove == 0))
- ! || (currentMove >= forwardMostMove))
- return;
-
- if (gameMode != PauseGame) {
- PauseProc();
- if (readGameXID != NULL) {
- --- 2053,2064 ----
- }
-
- if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
- ! || ((currentMove == 0) && (forwardMostMove == 0)))
- return;
-
- + if ((gameMode != PlayFromGameFile) && (currentMove >= forwardMostMove))
- + return;
- +
- if (gameMode != PauseGame) {
- PauseProc();
- if (readGameXID != NULL) {
- ***************
- *** 2122,2127 ****
- --- 2124,2134 ----
- InitChessProgram(appData.firstHost, appData.firstChessProgram,
- &firstProgramPID, &toFirstProgFP, &fromFirstProgFP, &firstProgramXID);
- DisplayClocks(ResetTimers);
- + if (commentUp) {
- + XtPopdown(commentShell);
- + XtDestroyWidget(commentShell);
- + commentUp = False;
- + }
- }
-
- int
-
-
- Sender: dbs@kodak (dan sears)
- From: dbs@kodak.enet.dec.com (dan sears)
- Path: kodak!dbs
- Newsgroups: rec.games.chess, gnu.chess
- Distribution: world
- From: dbs@pa.dec.com (Dan Sears)
- Reply-To: dbs@pa.dec.com (Dan Sears)
- Organization: Digital Equipment Corporation
- Subject: xboard 1.2, patch 2
- Keywords: chess, what else?
-
- Here is another patch for xboard. Hopefully, there won't be any more.
- This patch will be posted to comp.sources.x for archival purposes and
- there is also an up to date copy of the xboard sources in /contrib on
- export.lcs.mit.edu (18.30.0.238).
-
- --Dan
-
- diff -c rev6/README rev7/README
- *** rev6/README Thu Jun 27 15:29:11 1991
- --- rev7/README Thu Jun 27 15:07:28 1991
- ***************
- *** 255,257 ****
- --- 255,263 ----
- - Can't do a backward move when it isn't your turn because gnuchess
- gets confused. Similar bug for forward move. Do a bunch of moves,
- back up move and go forward. These get filtered out now.
- +
- + Thu Jun 27 15:06:25 PDT 1991
- +
- + - Bug in my forward move fix. Didn't work for playgamefile mode.
- +
- + - Remove comment popups during a reset.
- Common subdirectories: rev6/bitmaps and rev7/bitmaps
- diff -c rev6/xboard.c rev7/xboard.c
- *** rev6/xboard.c Thu Jun 27 15:29:05 1991
- --- rev7/xboard.c Thu Jun 27 15:02:58 1991
- ***************
- *** 2053,2062 ****
- }
-
- if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
- ! || ((currentMove == 0) && (forwardMostMove == 0))
- ! || (currentMove >= forwardMostMove))
- return;
-
- if (gameMode != PauseGame) {
- PauseProc();
- if (readGameXID != NULL) {
- --- 2053,2064 ----
- }
-
- if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
- ! || ((currentMove == 0) && (forwardMostMove == 0)))
- return;
-
- + if ((gameMode != PlayFromGameFile) && (currentMove >= forwardMostMove))
- + return;
- +
- if (gameMode != PauseGame) {
- PauseProc();
- if (readGameXID != NULL) {
- ***************
- *** 2122,2127 ****
- --- 2124,2134 ----
- InitChessProgram(appData.firstHost, appData.firstChessProgram,
- &firstProgramPID, &toFirstProgFP, &fromFirstProgFP, &firstProgramXID);
- DisplayClocks(ResetTimers);
- + if (commentUp) {
- + XtPopdown(commentShell);
- + XtDestroyWidget(commentShell);
- + commentUp = False;
- + }
- }
-
- int
-
-
-
-
-
- --
- Dan Heller
- O'Reilly && Associates Z-Code Software Comp-sources-x:
- Senior Writer President comp-sources-x@uunet.uu.net
- argv@ora.com argv@zipcode.com
-